home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global UPG, LEVEL, scorecnt, SAVETHERE
- if UPG = 0 then
- set the castNum of sprite 45 to 254
- puppetSound("ribit3")
- updateStage()
- set TTIME to the timer
- repeat while the timer < (TTIME + 100)
- end repeat
- set the castNum of sprite 45 to 244
- updateStage()
- end if
- if (UPG = 1) and (LEVEL > 1) then
- set the castNum of sprite 45 to 257
- puppetSound("click")
- updateStage()
- set SAVETHERE to 1
- writesavescore()
- set TTIME to the timer
- repeat while the timer < (TTIME + 100)
- end repeat
- set the castNum of sprite 45 to 244
- updateStage()
- end if
- if (UPG = 1) and (LEVEL = 1) then
- set the castNum of sprite 45 to 265
- puppetSound("ribit3")
- updateStage()
- set TTIME to the timer
- repeat while the timer < (TTIME + 100)
- end repeat
- set the castNum of sprite 45 to 244
- updateStage()
- end if
- end
-